package com.language.data_procress.language;

import org.json.JSONObject;
import com.webservice.webservice_line;

public class data_procress_insert_language extends languages {

	public String inserts_English_Turkish(String english, String turkish) {

		String path = super.getLanguagePATH() + "insertLanguage/" + english
				+ "/" + turkish;
		JSONObject jo = new webservice_line().startService_ReturnJSON(path);

		return jo.toString();

	}

	public String inserts_English_Turkish(languages language) {

		String path = super.getLanguagePATH() + "insertLanguage/"
				+ language.getEnglish() + "/" + language.getTurkish();

		JSONObject jo = new webservice_line().startService_ReturnJSON(path);

		return jo.toString();
	}

}